#!/bin/bash
#

count=0
while read line;do
	u_id=$(echo $line | awk -F: '{print $3}')
	if [ $u_id -ge 1 -a $u_id -le 999 ];then
		echo $line |awk -F: '{print $1}'
		let count++
	fi
	if [ $count -eq 5 ];then
		break
	fi
done < /etc/passwd
